package com.tinem.platform.module.pojo.vo.pay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @program: platform
 * @description: ${description}
 * @author: eden#can
 * @Slogan: 没有所谓失败，除非你不再尝试
 * @date: 2022-02-26 16:11
 **/
@Data
@ApiModel("wantsPay支付提交参数")
public class WantsPaySubmitVO {

    @NotBlank(message = "商户渠道订单号")
    @ApiModelProperty(name = "merchOrderId", value = "商户渠道订单号",required = true)
    String merchOrderId;

    @NotBlank(message = "卡号")
    @ApiModelProperty(name = "cardNO", value = "卡号",required = true)
    String cardNO;

    @NotBlank(message = "有效期年份（4位）")
    @ApiModelProperty(name = "expYear", value = "有效期年份（4位）",required = true)
    String expYear;

    @NotBlank(message = "有效期约份（2位）")
    @ApiModelProperty(name = "expMonth", value = "有效期约份（2位）",required = true)
    String expMonth;

    @NotBlank(message = "cvv")
    @ApiModelProperty(name = "cvv", value = "cvv",required = true)
    String cvv;

    @NotBlank(message = "First Name")
    @ApiModelProperty(name = "cardFirstName", value = "First Name",required = true)
    String cardFirstName;

    @NotBlank(message = "Last Name")
    @ApiModelProperty(name = "cardLastName", value = "Last Name",required = true)
    String cardLastName;

    @NotBlank(message = "支付email")
    @ApiModelProperty(name = "grEmail", value = "支付email",required = true)
    String grEmail;
}
